//
//  RadioStationViewController.m
//  WuLi
//
//  Created by Gollum on 16/9/13.
//  Copyright © 2016年 Gollum. All rights reserved.
//

#import "RadioStationViewController.h"

@interface RadioStationViewController ()

@end

@implementation RadioStationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    NSURL *url = [NSURL URLWithString:@"http://www.webtoons.com/zh-hans/"];
    NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url];
    UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 64,[UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height - 64 - 48)];
    [self.view addSubview:webView];
    webView.scrollView.bounces = NO;
    [webView loadRequest:request];
    [webView sizeThatFits:CGSizeMake([UIScreen mainScreen].bounds.size.width,webView.frame.size.height)];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
